<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>JavaScript设计模式</title>
</head>

<body>
  <p>JavaScript设计模式</p>
  <p>JavaScript设计模式</p>
  <hr>JavaScript Sate Machine</hr>
  <p><button id="button">收藏</button></p>

</body>

</html>